
const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  driver: state => state.NodeParams.driver,
  databases: state => state.NodeParams.databases,
  plcAddress: state => state.NodeParams.plcAddress,
  GlobalParams: state => state.NodeParams.GlobalParams,
  /**
   * 弃用，请使用 /src/store/flow/flowStore.ts 下的 AllFlow 替代
   * @deprecated
   * @param state
   * @returns {[]|*[]|*}
   */
  allFlow: state => state.flow.chat.allFlow,
  /**
   * 弃用，使用 useFlowStore （路径：import {useFlowStore} from "@/store/modules/flow/flowStore";）下的 CurrentFlow 替代
   * @deprecated
   * @param state
   * @returns {*}
   */
  currentFlow: state => state.flow.chat.currentFlow,
  /**
   * 弃用，使用 useFlowStore （路径：import {useFlowStore} from "@/store/modules/flow/flowStore";）下的 CurrentClickNode 替代
   * @deprecated
   * @param state
   * @returns {*}
   */
  currentClickNode: state => state.flow.chat.currentClickNode,
  flowLogger: state => state.app.flowLogger
}
export default getters
